package cvut.fit.dpo.operators;

import cvut.fit.dpo.composite.IComponent;

public class SubstractOperator implements IOperator {

	@Override
	public int evaluate(IComponent op1, IComponent op2) {
		return op1.getValue() - op2.getValue();
	}

}
